package com.quectel.pay.module.order.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退款订单
 *
 * @author ryan
 * @date 2021-01-27 14:22:03
 */
@Data
public class PayOrderRefundDto implements Serializable {

    /**
     *
     */
    private Long id;

    /**
     * 租户id
     */
    private Long tenantId;
    /**
     * 小区id
     */
    private Long villageId;

    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 商户订单号
     */
    private String outTradeNo;
    /**
     * 订单支付金额
     */
    private BigDecimal totalAmount;
    /**
     * 退款订单号
     */
    private String outRefundNo;
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
    /**
     * 0生成退款记录（未审核）1发起退款成功（退款中）2退款成功（退款成功
     */
    private Byte refundStatus;
    /**
     * 0待审核1审核通过2审核不通过
     */
    private Byte auditStatus;
    /**
     * 退款成功时间
     */
    private Date refundSuccessTime;
    /**
     * 退款回调地址主要针对微信支付宝不需要
     */
    private String refundNotifyUrl;
    /**
     * 退款类型 1结算退款2人工退款
     */
    private Byte refundType;
    /**
     * 备注
     */
    private String remark;
    /**
     *
     */
    private String creator;
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private String editor;
    /**
     *
     */
    private Date editTime;


    private PayOrderDto payOrderDto;

    private String villageName;

}
